import $http from "./requst";
// 登陆
export const login = (data) =>
  $http({ url: "/admin/Login/login", method: "post", data });
// 发送验证码
export const smsSend = (data) =>
  $http({ url: "/common/Sms", method: "post", data });

// 账户中心
export const Account = (data) =>
  $http({ url: "/admin/Account", method: "post", data });
// 首页中心
export const indexData = (data) =>
  $http({ url: "/admin", method: "post", data });

// 首页统计-数据快捷查看
export const sjkjck = (data) =>
  $http({ url: "/admin/Index/sjkjck", method: "post", data });

// 鲸币变更记录
export const coinStatement = (data) =>
  $http({ url: "/admin/Account/coinStatement", method: "post", data });

// 获取充值套餐
export const getRecharge = (data) =>
  $http({ url: "/admin/Account/getRecharge", method: "post", data });

// 鲸币充值
export const rechargeCoin = (data) =>
  $http({ url: "/admin/Account/rechargeCoin", method: "post", data });

// 修改账号密码
export const editPwd = (data) =>
  $http({ url: "/admin/Account/editPwd", method: "post", data });

// 编辑企业
export const editEnterprise = (data) =>
  $http({ url: "/admin/Account/editEnterprise", method: "post", data });

// 新增员工账号
export function staffAdd(data) {
  return $http({
    url: `/admin/Staffuser/add`,
    method: "POST",
    data,
  });
}
// 岗位购买
export function positionPay(data) {
  return $http({
    url: `/admin/Account/positionPay`,
    method: "POST",
    data,
  });
}

// 员工列表
export const Staffuser = (data) =>
  $http({ url: "/admin/Staffuser", method: "post", data });

// 员工恢复禁用
export const staffCheckStatus = (data) =>
  $http({ url: "/admin/Staffuser/checkStatus", method: "post", data });

// 员工编辑回显
export const staffShow = (data) =>
  $http({ url: "/admin/Staffuser/editShow", method: "post", data });

// 员工编辑
export function staffEdit(data) {
  return $http({
    url: `/admin/Staffuser/editSave`,
    method: "POST",
    data,
  });
}

// 船队列表
export function Fleet(data) {
  return $http({
    url: `/admin/Fleet`,
    method: "POST",
    data,
  });
}

// 船队新增
export function FleetAdd(data) {
  return $http({
    url: `/admin/Fleet/add`,
    method: "POST",
    data,
  });
}
// 船队编辑
export function FleetEdit(data) {
  return $http({
    url: `/admin/Fleet/editSave`,
    method: "POST",
    data,
  });
}
// 船队删除
export function FleetDel(data) {
  return $http({
    url: `/admin/Fleet/del`,
    method: "POST",
    data,
  });
}

// 船队编辑回显
export function FleetShow(data) {
  return $http({
    url: `/admin/Fleet/editShow`,
    method: "POST",
    data,
  });
}
// 船舶新增
export function Ship(data) {
  return $http({
    url: `/admin/Ship`,
    method: "POST",
    data,
  });
}
// 船舶新增
export function ShipAdd(data) {
  return $http({
    url: `/admin/Ship/add`,
    method: "POST",
    data,
  });
}
// 船舶回显
export function ShipShow(data) {
  return $http({
    url: `/admin/Ship/editShow`,
    method: "POST",
    data,
  });
}
// 选择船队
export function checkFleet(data) {
  return $http({
    url: `/admin/Ship/CheckFleet`,
    method: "POST",
    data,
  });
}
// 船舶编辑
export function ShipEdit(data) {
  return $http({
    url: `/admin/Ship/editSave`,
    method: "POST",
    data,
  });
}
// 船舶删除
export function ShipDel(data) {
  return $http({
    url: `/admin/Ship/del`,
    method: "POST",
    data,
  });
}
// 船舶详情
export function ShipDetail(data) {
  return $http({
    url: `/admin/Ship/details`,
    method: "POST",
    data,
  });
}
// 船舶详情_船员列表
export function ShipBootDetail(data) {
  return $http({
    url: `/admin/Ship/details1`,
    method: "POST",
    data,
  });
}

// 获取数据字典
export function getContent(data) {
  return $http({
    url: `/common/Datadictionary/getContent`,
    method: "POST",
    data,
  });
}

// 合作企业列表
export function Cooperate_enterprise(data) {
  return $http({
    url: `/admin/Cooperate_enterprise`,
    method: "POST",
    data,
  });
}
// 合作企业新增
export function Cooperate_enterpriseAdd(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/add`,
    method: "POST",
    data,
  });
}
// 合作企业编辑
export function Cooperate_enterpriseEdit(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/editSave`,
    method: "POST",
    data,
  });
}
// 合作企业编辑回显
export function Cooperate_enterpriseShow(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/editShow`,
    method: "POST",
    data,
  });
}
// 合作企业删除
export function Cooperate_enterpriseDel(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/del`,
    method: "POST",
    data,
  });
}
// 岗位新增
export function PositionAdd(data) {
  return $http({
    url: `/admin/Position/add`,
    method: "POST",
    data,
  });
}
// 选择合作企业
export function checkCooperateEnterprise(data) {
  return $http({
    url: `/admin/Position/checkCooperateEnterprise`,
    method: "POST",
    data,
  });
}
// 岗位列表
export function Position(data) {
  return $http({
    url: `/admin/Position`,
    method: "POST",
    data,
  });
}

// 岗位删除
export function PositionDel(data) {
  return $http({
    url: `/admin/Position/del`,
    method: "POST",
    data,
  });
}
// 岗位编辑回显
export function PositionShow(data) {
  return $http({
    url: `/admin/Position/editShow`,
    method: "POST",
    data,
  });
}

// 岗位编辑
export function PositionEdit(data) {
  return $http({
    url: `/admin/Position/editSave`,
    method: "POST",
    data,
  });
}
// 岗位详情
export function PositionDetail(data) {
  return $http({
    url: `/admin/Position/details`,
    method: "POST",
    data,
  });
}
// 岗位详情-投递记录
export function positiontdRecord(data) {
  return $http({
    url: `/admin/Position/positiontdRecord`,
    method: "POST",
    data,
  });
}
// 岗位详情-关联船员
export function positiontdGlcy(data) {
  return $http({
    url: `/admin/Position/glcy`,
    method: "POST",
    data,
  });
}

// 岗位状态更改
export function PositionCheckStatus(data) {
  return $http({
    url: `/admin/Position/checkStatus`,
    method: "POST",
    data,
  });
}
// 岗位状态更改
export function checkReadStatus(data) {
  return $http({
    url: `/admin/Position/checkReadStatus`,
    method: "POST",
    data,
  });
}

// 岗位投递记录
export function PositionDeliver(data) {
  return $http({
    url: `/admin/Position/positionDeliver`,
    method: "POST",
    data,
  });
}
// 获取本企业名称及船舶
export function checkOurCompany(data) {
  return $http({
    url: `/admin/Position/checkOurCompany`,
    method: "POST",
    data,
  });
}

// 公海池
export function highSeas(data) {
  return $http({
    url: `/admin/Crewhall/highSeas`,
    method: "POST",
    data,
  });
}

// 简历详情
export function CrewhallDetail(data) {
  return $http({
    url: `/admin/Crewhall/details`,
    method: "POST",
    data,
  });
}
// 新增沟通
export function connectRecordSave(data) {
  return $http({
    url: `/admin/Crewhall/connectRecordSave`,
    method: "POST",
    data,
  });
}
// 简历收藏
export function CrewhallCollect(data) {
  return $http({
    url: `/admin/Crewhall/collect`,
    method: "POST",
    data,
  });
}
// 简历收藏列表
export function collectList(data) {
  return $http({
    url: `/admin/Crewhall/collectList`,
    method: "POST",
    data,
  });
}
// 简历取消收藏
export function collectCancel(data) {
  return $http({
    url: `/admin/Crewhall/collectCancel`,
    method: "POST",
    data,
  });
}
// 沟通记录(总)
export function connectRecord(data) {
  return $http({
    url: `/admin/Crewhall/connectRecord`,
    method: "POST",
    data,
  });
}
// 简历详情——沟通记录
export function biographicalNotesConnectRecord(data) {
  return $http({
    url: `/admin/Crewhall/biographicalNotesConnectRecord`,
    method: "POST",
    data,
  });
}

// 关联岗位
export function associationPosition(data) {
  return $http({
    url: `/admin/Crewhall/associationPosition`,
    method: "POST",
    data,
  });
}
// 简历关联岗位列表
export function associationPositionList(data) {
  return $http({
    url: `/admin/Crewhall/associationPositionList`,
    method: "POST",
    data,
  });
}

// 获取岗位信息下拉
export function checkPosition(data) {
  return $http({
    url: `/admin/Crewhall/checkPosition`,
    method: "POST",
    data,
  });
}

// 简历识别
export function discernFile(data) {
  return $http({
    url: `/admin/Crewhall/discernFile`,
    method: "POST",
    data,
  });
}
// 简历录入
export function talentPoolSave(data) {
  return $http({
    url: `/admin/Crewhall/talentPoolSave`,
    method: "POST",
    data,
  });
}
// 人才库列表
export function talentPool(data) {
  return $http({
    url: `/admin/Crewhall/talentPool`,
    method: "POST",
    data,
  });
}
// 人才库回显
export function talentPoolEditShow(data) {
  return $http({
    url: `/admin/Crewhall/talentPoolEditShow`,
    method: "POST",
    data,
  });
}

// 人才库编辑提交
export function talentPoolEditSave(data) {
  return $http({
    url: `/admin/Crewhall/talentPoolEditSave`,
    method: "POST",
    data,
  });
}

// 面试详情
export function CrewmanageDetail(data) {
  return $http({
    url: `/admin/Crewmanage/details`,
    method: "POST",
    data,
  });
}
// 切换面试状态
export function checkInterviewStatus(data) {
  return $http({
    url: `/admin/Crewmanage/checkInterviewStatus`,
    method: "POST",
    data,
  });
}
// 面试记录
export function interviewRecord(data) {
  return $http({
    url: `/admin/Crewmanage/interviewRecord`,
    method: "POST",
    data,
  });
}
// 邀请面试
export function inviteInterview(data) {
  return $http({
    url: `/admin/Crewhall/inviteInterview`,
    method: "POST",
    data,
  });
}
// 在职船员
export function zzcy(data) {
  return $http({
    url: `/admin/Crewmanage/zzcy`,
    method: "POST",
    data,
  });
}
// 员工详情
export function staffDetail(data) {
  return $http({
    url: `/admin/Staffuser/details`,
    method: "POST",
    data,
  });
}
// 员工签约船员记录
export function staffSignBoot(data) {
  return $http({
    url: `/admin/Staffuser/qycy`,
    method: "POST",
    data,
  });
}
// 员工提成记录明细
export function staffSubRecord(data) {
  return $http({
    url: `/admin/Staffuser/tcjl`,
    method: "POST",
    data,
  });
}
// 员工创建合作企业
export function staffCreateCom(data) {
  return $http({
    url: `/admin/Staffuser/hzqy`,
    method: "POST",
    data,
  });
}
// 签约回显
export function getSignInfo(data) {
  return $http({
    url: `/admin/Crewmanage/checkData`,
    method: "POST",
    data,
  });
}
// 签约船员
export function signingCy(data) {
  return $http({
    url: `/admin/Crewmanage/signingCy`,
    method: "POST",
    data,
  });
}
// 企业合作审批
export function comExamineList(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/examineList`,
    method: "POST",
    data,
  });
}

// 企业合作审批通过、驳回
export function comExamineStatus(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/qyExamine`,
    method: "POST",
    data,
  });
}

// 签约申请审核
export function shList(data) {
  return $http({
    url: `/admin/Crewmanage/shList`,
    method: "POST",
    data,
  });
}

// 签约申请审核
export function shCySign(data) {
  return $http({
    url: `/admin/Crewmanage/shCySign`,
    method: "POST",
    data,
  });
}
// 离职审核列表
export function lzShList(data) {
  return $http({
    url: `/admin/Crewmanage/lzShList`,
    method: "POST",
    data,
  });
}

// 离职审核通过、驳回
export function lzSh(data) {
  return $http({
    url: `/admin/Crewmanage/lzSh`,
    method: "POST",
    data,
  });
}
// 船员详情
export function cyxq(data) {
  return $http({
    url: `/admin/Crewmanage/cyxq`,
    method: "POST",
    data,
  });
}
// 办理离职
export function bllz(data) {
  return $http({
    url: `/admin/Crewmanage/bllz`,
    method: "POST",
    data,
  });
}
// 离职船员列表
export function lzList(data) {
  return $http({
    url: `/admin/Crewmanage/lzList`,
    method: "POST",
    data,
  });
}
// 船员打标签
export function cyLabel(data) {
  return $http({
    url: `/admin/Crewhall/cyLabel`,
    method: "POST",
    data,
  });
}
// 合作企业详情
export function comDetail(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/details`,
    method: "POST",
    data,
  });
}
// 合作企业提成记录
export function tcjl(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/tcjl`,
    method: "POST",
    data,
  });
}

// 合作企业签约记录
export function qyjl(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/qyjl`,
    method: "POST",
    data,
  });
}

// 船队详情
export function flotDetail(data) {
  return $http({
    url: `/admin/Fleet/details`,
    method: "POST",
    data,
  });
}
// 员工kpi
export function staffkpi(data) {
  return $http({
    url: `/admin/Staffuser/kpi`,
    method: "POST",
    data,
  });
}
// 员工提成记录
export function tcjlAll(data) {
  return $http({
    url: `/admin/Staffuser/tcjlAll`,
    method: "POST",
    data,
  });
}
// 支付状态
export function payStatus(data) {
  return $http({
    url: `/admin/Account/payStatus`,
    method: "POST",
    data,
  });
}

// 企业主账号续费
export function renewMain(data) {
  return $http({
    url: `/admin/Account/renew`,
    method: "POST",
    data,
  });
}
// 企业子账号续费
export function renewNode(data) {
  return $http({
    url: `/admin/Staffuser/renew`,
    method: "POST",
    data,
  });
}

// 结算合作企业的余额
export function jsMoney(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/jsMoney`,
    method: "POST",
    data,
  });
}

// 合作企业的结算记录
export function settlementRecord(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/settlementRecord`,
    method: "POST",
    data,
  });
}
// 企业详情结算记录
export function Componyjsjl(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/jsjl`,
    method: "POST",
    data,
  });
}
// 船员管理——船员薪资
export function cyxz(data) {
  return $http({
    url: `/admin/Crewmanage/cyxz`,
    method: "POST",
    data,
  });
}
// 船员管理——船员薪资结算
export function cyxzSave(data) {
  return $http({
    url: `/admin/Crewmanage/cyxzSave`,
    method: "POST",
    data,
  });
}

// 船员管理——船员薪资详情
export function cyxzDetails(data) {
  return $http({
    url: `/admin/Crewmanage/cyxzDetails`,
    method: "POST",
    data,
  });
}

// 船员管理——船员薪资上传凭证
export function jsVoucher(data) {
  return $http({
    url: `/admin/Crewmanage/jsVoucher`,
    method: "POST",
    data,
  });
}

// 审批管理——船员薪资申请审核列表
export function cyxzShData(data) {
  return $http({
    url: `/admin/Crewmanage/cyxzShData`,
    method: "POST",
    data,
  });
}
// 审批管理——船员薪资申请审核提交
export function cyxzShSave(data) {
  return $http({
    url: `/admin/Crewmanage/cyxzShSave`,
    method: "POST",
    data,
  });
}
// 审批管理——合作薪资申请审核列表
export function hzjsSh(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/hzjsSh`,
    method: "POST",
    data,
  });
}
// 审批管理——合作薪资申请审核提交
export function hzjsShSave(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/hzjsShSave`,
    method: "POST",
    data,
  });
}
// 船员详情-他的证书
export function cyxq2(data) {
  return $http({
    url: `/admin/Crewmanage/cyxq2`,
    method: "POST",
    data,
  });
}
// 船员详情-薪酬结算
export function cyxq1(data) {
  return $http({
    url: `/admin/Crewmanage/cyxq1`,
    method: "POST",
    data,
  });
}
// 账户资金变更记录
export function enterpriseStatement(data) {
  return $http({
    url: `/admin/Account/enterpriseStatement`,
    method: "POST",
    data,
  });
}
// 管理费结算
export function glfjs(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/glfjs`,
    method: "POST",
    data,
  });
}
// 管理费结算提交
export function glfjsSave(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/glfjsSave`,
    method: "POST",
    data,
  });
}
// 结算记录-上传凭证
export function settlementRecordScpz(data) {
  return $http({
    url: `/admin/Cooperate_enterprise/settlementRecordScpz`,
    method: "POST",
    data,
  });
}

// 获取邮件内容通知
export function emailNotice(data) {
  return $http({
    url: `/admin/Index/emailNotice`,
    method: "POST",
    data,
  });
}

// 获取日历通知
export function rlNotice(data) {
  return $http({
    url: `/admin/Index/rlNotice`,
    method: "POST",
    data,
  });
}

// 企业后台通知消息改变已读
export function noticeCheckStatus(data) {
  return $http({
    url: `/admin/Index/noticeCheckStatus`,
    method: "POST",
    data,
  });
}

// 操作日志
export function Artlog(data) {
  return $http({
    url: `/admin/Artlog`,
    method: "POST",
    data,
  });
}
// 岗位详情-面试记录
export function details_msjl(data) {
  return $http({
    url: `/admin/Position/details_msjl`,
    method: "POST",
    data,
  });
}
// 岗位详情-签约记录（
export function details_qyjl(data) {
  return $http({
    url: `/admin/Position/details_qyjl`,
    method: "POST",
    data,
  });
}
// 面试记录删除
export function interviewRecordDel(data) {
  return $http({
    url: `/admin/Crewmanage/interviewRecordDel`,
    method: "POST",
    data,
  });
}

// 内容通知删除
export function emailNoticeDel(data) {
  return $http({
    url: `/admin/Index/emailNoticeDel`,
    method: "POST",
    data,
  });
}
// 船员自己录入二维码生成
export function staffQrcode(data) {
  return $http({
    url: `/admin/Crewhall/staffQrcode`,
    method: "POST",
    data,
  });
}
// 人才库简历删除
export function deltalentPool(data) {
  return $http({
    url: `/admin/Crewhall/deltalentPool`,
    method: "POST",
    data,
  });
}

// 简历精准识别套餐
export function csPayMenu(data) {
  return $http({
    url: `/admin/Account/csPayMenu`,
    method: "POST",
    data,
  });
}
// 购买简历精准识别套餐
export function csPay(data) {
  return $http({
    url: `/admin/Account/csPay`,
    method: "POST",
    data,
  });
}
// 推荐表信息
export function biographicalNotesExcel(data) {
  return $http({
    url: `/admin/Crewhall/biographicalNotesExcel`,
    method: "POST",
    data,
  });
}
// 公告列表
export function notice(data) {
  return $http({
    url: `/admin/Index/notice`,
    method: "POST",
    data,
  });
}
// 公告详情
export function noticeDetails(data) {
  return $http({
    url: `/admin/Index/noticeDetails`,
    method: "POST",
    data,
  });
}
// 获取员工账号续费鲸币
export function getXfmoney(data) {
  return $http({
    url: `/admin/Staffuser/getXfmoney`,
    method: "POST",
    data,
  });
}
// 广场列表
export function Gpsquare(data) {
  return $http({
    url: `/admin/Gpsquare`,
    method: "POST",
    data,
  });
}
// 广场发布
export function GpsquareAdd(data) {
  return $http({
    url: `/admin/Gpsquare/add`,
    method: "POST",
    data,
  });
}
// 广场删除
export function GpsquareDel(data) {
  return $http({
    url: `/admin/Gpsquare/del`,
    method: "POST",
    data,
  });
}
// 广场点赞和取消点赞
export function GpsquareDz(data) {
  return $http({
    url: `/admin/Gpsquare/dz`,
    method: "POST",
    data,
  });
}
// 广场举报
export function GpsquareReport(data) {
  return $http({
    url: `/admin/Gpsquare/report`,
    method: "POST",
    data,
  });
}

// 广场热度榜
export function heatArrange(data) {
  return $http({
    url: `/admin/Gpsquare/heatArrange`,
    method: "POST",
    data,
  });
}
// 导出所有人才库简历
export function talentPoolExcelAll(data) {
  return $http({
    url: `/admin/Crewhall/talentPoolExcelAll`,
    method: "POST",
    data,
  });
}

// 简历加密信息查看
export function lookInfo(data) {
  return $http({
    url: `/admin/Crewhall/lookInfo`,
    method: "POST",
    data,
  });
}
// 员工详情-他沟通过的船员
export function gtcy(data) {
  return $http({
    url: `/admin/Staffuser/gtcy`,
    method: "POST",
    data,
  });
}
// 面试记录（邮寄证书、体检）状态更改
export function bookCheckStatus(data) {
  return $http({
    url: `/admin/Crewmanage/checkStatus`,
    method: "POST",
    data,
  });
}
